package com.warm.spring.ioc.factory;

import com.warm.spring.bean.skill.SaberSkill;
import com.warm.spring.bean.skill.Skill;

/**
 * @Description 实例工厂方法
 * @Author iyb-liangchuang
 * @Date 2021/5/20 11:11
 */
public class SkillFactory {

    /**
     * 一个实例工厂类可以有多个工厂方法
     */

    private static Skill skill = new SaberSkill();

    public Skill createSkillInstance(){
        return skill;
    }
}
